<?php declare(strict_types=1);


namespace App\Model\Entity;

use Swoft\Db\Annotation\Mapping\Column;
use Swoft\Db\Annotation\Mapping\Entity;
use Swoft\Db\Annotation\Mapping\Id;
use Swoft\Db\Eloquent\Model;


/**
 * 
 * Class T1
 *
 * @since 2.0
 *
 * @Entity(table="t1")
 */
class T1 extends Model
{
    /**
     * 
     *
     * @Column()
     *
     * @var float
     */
    private $id1;

    /**
     * 
     *
     * @Column()
     *
     * @var float
     */
    private $id2;

    /**
     * 
     *
     * @Column()
     *
     * @var float
     */
    private $id3;


    /**
     * @param float $id1
     *
     * @return self
     */
    public function setId1(float $id1): self
    {
        $this->id1 = $id1;

        return $this;
    }

    /**
     * @param float $id2
     *
     * @return self
     */
    public function setId2(float $id2): self
    {
        $this->id2 = $id2;

        return $this;
    }

    /**
     * @param float $id3
     *
     * @return self
     */
    public function setId3(float $id3): self
    {
        $this->id3 = $id3;

        return $this;
    }

    /**
     * @return float
     */
    public function getId1(): ?float
    {
        return $this->id1;
    }

    /**
     * @return float
     */
    public function getId2(): ?float
    {
        return $this->id2;
    }

    /**
     * @return float
     */
    public function getId3(): ?float
    {
        return $this->id3;
    }

}
